Former French President Nicolas Sarkozy lost his first appeal against facing trial over influence peddling and corruption charges and must wait for a second appeal before knowing if he will be sent to court.