fixes for phi and eta conventions in Hardware sorter