order widget by sequence - correct issue with php5.4