added sort featre to restaurant index and tested it