Submissions selecting and giving rank done

The data now has to be converted to tabular form and some JS is required for sorting etc..