update rails version
add sorting for table columns