/table_sorting_algorithms

Made A table which enables you to sort based on the order you click the column names at the top.

Primary LanguagePython

table_sorting_algorithms

Introduction :

This project is made to ease the work of querying large datasets by: having a a click based query system , where the order you click the columns they get sorted in that order.

Usage

  1. When the website opens it is already sorted in the order of serial number '#'
  2. When you click the first column it sorts the table in that order where that perticular column is taken into account.
  3. When you click the second column except the column already clicked before , it sorts the table based on both the columns where the first selected column is given priority first and second selected column is given priority second.
  4. whenever you click the last selected column again ( twice ) the whole table is reset and the table is again sorted based on the last selected column only.
  5. so to reset the column back to normal state (same as in order of serial number):
    • just click the serial number twice or
    • Click The Reset Button

Requiments

  1. Django 1.11
  2. Python 2.7

ScreenShots

  1. Main Screen

    Already sorted with serial number !

  2. After Clicking Distance

  3. Clicked : Distance First -> Then Rate

  4. Clicked : Distance First -> Then Completion Date

  5. Clicked : Rate

  6. Clicked : Project Size

  7. Clicked : Project Size First -> then Compleation Date