implemented rank
implemented sort by timing/rank
modified and got rid of some repetition
added search by decending and ascending order
Merge branches 'rank' and 'master'
added 2 more indexes