fixes for EGamma sorting, changed padded jets flag to hwQual&10 to allow using lower bits for rct index