Updated Static pages controller sort option for tickets, also remove legacy files