- Posts Tagged ‘sorting’

Data Structure in PHP: Bubble Sort

Here is the code for a data structure items in PHP. It is about Bubble Sort. Bubble sort is the way of sorting data. This is regarded as bad algorithm due to its worst case performance O(n2). Average case performance is also same as O(n2). But this sorting algorithm is… (Continue)

Client-side Table Sorting Using Javascript

What about the idea of giving the user power of sorting the table's column using JavaScript. User can sort any column of the table. I saw this facility from a software I was using. It was running very fast and smoothly. That web app was using JavaScript from another site.… (Continue)