[Issue #300] Fixed mismatched sorting attr