fix sortObject
fix require path