Change pins ordering