List sorting

full credit to Raúl Witthüser for help with php & java scripts - © nzquakes.com